//
//  ViewController.h
//  SecretPhoto
//
//  Created by TTgg on 12-9-13.
//  Copyright (c) 2012年 com.ptc. All rights reserved.
//

#import "AppDelegate.h"
#import <UIKit/UIKit.h>
#import <MediaPlayer/MediaPlayer.h>
@interface ViewController : UIViewController <UIImagePickerControllerDelegate, UINavigationControllerDelegate>
@property (retain, nonatomic) IBOutlet UIImageView *imageView;
@property (retain, nonatomic) IBOutlet UIButton *takePictureButton;
@property (strong, nonatomic) MPMediaPickerController *moviePlyerController;
@property (strong, nonatomic) UIImage *image;
@property (strong, nonatomic) NSURL *movieURL;
@property (copy, nonatomic) NSString *lastChoseMediaType;
@property (assign, nonatomic) CGRect imageFrame;


- (IBAction)shootPictureOrVideo:(id)sender;
- (IBAction)selectExistingPictureOrVideo:(id)sender;


@end
